package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import com.atguigu.gulimall.member.config.FeignLogConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author yinhao
 * @Date 2021/1/8 18:39
 * @Description 优惠券Feign客服端
 */
@FeignClient(value = "gulimall-coupon",configuration = FeignLogConfig.class)
public interface CouponFeignService {

    @RequestMapping("/coupon/coupon/member/list")
     R memberCoupons();
}
